13. Case Study in Python
Case Study in Python
Use the Jupyter notebook to analyze admission_data.csv
to find the following values and for the quizzes below. Indexing, query, and groupby may come in handy!
- Proportion and admission rate for each gender
- Proportion and admission rate for physics majors of each gender
- Proportion and admission rate for chemistry majors of each gender
- Admission rate for each major
Code
If you need a code on the https://github.com/udacity.
QUIZ QUESTION::
Match the correct values
ANSWER CHOICES:
Feature |
Value |
---|---|
Proportion of students that are female |
|
Proportion of students that are male |
|
Admission rate for females |
|
Admission rate for males |
SOLUTION:
Feature |
Value |
---|---|
Proportion of students that are male |
|
Admission rate for females |
|
Admission rate for males |
|
Proportion of students that are female |
SOLUTION:
MalesQUIZ QUESTION::
Match the correct values
ANSWER CHOICES:
Feature |
Value |
---|---|
Proportion of females with physics majors |
|
Proportion of males with physics majors |
|
Admission rate for female physics majors |
|
Admission rate for male physics majors |
SOLUTION:
Feature |
Value |
---|---|
Admission rate for male physics majors |
|
Proportion of females with physics majors |
|
Proportion of males with physics majors |
|
Admission rate for female physics majors |
SOLUTION:
FemalesSOLUTION:
MalesQUIZ QUESTION::
Match the correct values
ANSWER CHOICES:
Feature |
Value |
---|---|
Proportion of females with chemistry majors |
|
Proportion of males with chemistry majors |
|
Admission rate for female chemistry majors |
|
Admission rate for male chemistry majors |
SOLUTION:
Feature |
Value |
---|---|
Proportion of males with chemistry majors |
|
Admission rate for female chemistry majors |
|
Admission rate for male chemistry majors |
|
Proportion of females with chemistry majors |
SOLUTION:
FemalesSOLUTION:
FemalesSOLUTION:
ChemistryReflect
QUESTION:
Take a moment to organize and explain what just happened.
ANSWER:
Can you think of other situations where Simpson's Paradox could occur?